package com.itheima;


import com.itheima.autoconfig.template.SmsTemplate;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * @author CSY
 * 2022/5/19    18:01
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = UserApplication.class)
public class T {

   @Resource
   private SmsTemplate smsTemplate;

    @Test
    public void s(){
        smsTemplate.sendSms("15280159701","6666");
    }

}
